package com.goktech.service;

import com.goktech.entity.Book;

import java.util.List;
import java.util.Map;

public interface BookService {
    public int insertBook(Book b);
    public int updateBook(Book b);
    public int deleteBook(Book b);
    public Book findByBook(Book b);
    public List<Map<String, Object>> findByAll(int begin,int end);
    public List<Map<String, Object>> findLikeBookName(Book b);
    public List<Map<String, Object>> findLikeAuthor(Book b);
    public Map<String,Object>findByMapOne(Book b);
    public Book findByName(Book b);
}
